using SmartLink.EnumLibrary;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SmartLink.DTOS.Permission
{
    /// <summary>
    /// 数据授权可选项
    /// </summary>
    public class DataAuthorizationItemDTO
    {
        /// <summary>
        /// 是否应用该项
        /// </summary>
        public bool BeApplied { get; set; }
        /// <summary>
        /// 授权范围枚举值
        /// </summary>
        public AuthorizationScopeEnum AuthorizationScope { get; set; }
        /// <summary>
        /// 授权范围枚举文字
        /// </summary>
        public string AuthorizationScopeText { get; set; }
        /// <summary>
        /// 自定义资源ID集合（根据AuthorizationScope不同，指代不同）
        /// </summary>
        public IList<int> CustomResourseIds { get; set; }
    }
}
